/**
 * Created by eaTong on 2018/12/4 .
 * Description:
 */
import React from 'react';
import {Container, Header, Content, Button, Text} from 'native-base';

export default class BaseComponents extends React.Component {
  state = {
    form:{}
  };

  onChangeForm(key , value){
    const form = this.state.form ||{};
    form[key] = value;
    this.setState({form});
  }

  render() {
    return (
      <Container>
        <Content>
          <Button>
            <Text>Click Me!</Text>
          </Button>
        </Content>
      </Container>
    );
  }
}
